mrfioc2  2.3.0
Public Types | Public Member Functions | Public Attributes | List of all members
mrf::detail::unboundProperty< C, P[1]> Class Template Reference

An un-bound, typed array property. More...

#include <object.h>

Inheritance diagram for mrf::detail::unboundProperty< C, P[1]>:
Inheritance graph
[legend]
Collaboration diagram for mrf::detail::unboundProperty< C, P[1]>:
Collaboration graph
[legend]

Public Types

typedef void(C::* setter_t) (const P *, epicsUInt32)
 
typedef epicsUInt32(C::* getter_t) (P *, epicsUInt32) const
 

Public Member Functions

 unboundProperty (const char *n, getter_t g, setter_t s)
 
virtual const std::type_info & type () const
 
virtual property< P[1]> * bind (C *)
 Binder for scalar instances. More...
 
- Public Member Functions inherited from mrf::detail::unboundPropertyBase< C >
virtual ~unboundPropertyBase ()
 

Public Attributes

const char *const name
 
getter_t const getter
 
setter_t const setter
 

Detailed Description

template<class C, typename P>
class mrf::detail::unboundProperty< C, P[1]>

An un-bound, typed array property.

Definition at line 222 of file object.h.

Member Typedef Documentation

◆ getter_t

template<class C , typename P >
typedef epicsUInt32(C::* mrf::detail::unboundProperty< C, P[1]>::getter_t) (P *, epicsUInt32) const

Definition at line 226 of file object.h.

◆ setter_t

template<class C , typename P >
typedef void(C::* mrf::detail::unboundProperty< C, P[1]>::setter_t) (const P *, epicsUInt32)

Definition at line 225 of file object.h.

Constructor & Destructor Documentation

◆ unboundProperty()

template<class C , typename P >
mrf::detail::unboundProperty< C, P[1]>::unboundProperty ( const char *  n,
getter_t  g,
setter_t  s 
)
inline

Definition at line 232 of file object.h.

233  :name(n), getter(g), setter(s) {}

Member Function Documentation

◆ bind()

template<class C , typename P >
property< P[1]> * mrf::detail::unboundProperty< C, P[1]>::bind ( C *  inst)
inlinevirtual

Binder for scalar instances.

Implements mrf::detail::unboundPropertyBase< C >.

Definition at line 339 of file object.h.

340 {
341  return new propertyInstance<C,P[1]>(inst,*this);
342 }

◆ type()

template<class C , typename P >
virtual const std::type_info& mrf::detail::unboundProperty< C, P[1]>::type ( ) const
inlinevirtual

Implements mrf::detail::unboundPropertyBase< C >.

Definition at line 235 of file object.h.

235 {return typeid(P[1]);}

Member Data Documentation

◆ getter

template<class C , typename P >
getter_t const mrf::detail::unboundProperty< C, P[1]>::getter

Definition at line 229 of file object.h.

◆ name

template<class C , typename P >
const char* const mrf::detail::unboundProperty< C, P[1]>::name

Definition at line 228 of file object.h.

◆ setter

template<class C , typename P >
setter_t const mrf::detail::unboundProperty< C, P[1]>::setter

Definition at line 230 of file object.h.


The documentation for this class was generated from the following file: